package entities;

import java.io.Serializable;
import java.util.Date;
import basic.BaseEntity;
import basic.FieldMeta;

public class TCs extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@FieldMeta(primary = true, name = "编号", description = "编号", column = "cs_no", require = true, range = true, length = 32, order = 0)
	private String csNo;

	public String getCsNo() {
		return csNo;
	}

	public void setCsNo(String csNo) {
		this.csNo = csNo;
	}

	@FieldMeta(name = "关联卡号", description = "关联卡号", column = "crd_no", require = true, length = 32, order = 1)
	private String crdNo;

	public String getCrdNo() {
		return crdNo;
	}

	public void setCrdNo(String crdNo) {
		this.crdNo = crdNo;
	}

	@FieldMeta(name = "关联交易号", description = "关联交易号", column = "txn_no", require = true, length = 32, order = 2)
	private String txnNo;

	public String getTxnNo() {
		return txnNo;
	}

	public void setTxnNo(String txnNo) {
		this.txnNo = txnNo;
	}

	@FieldMeta(name = "类型", description = "类型", column = "cs_type", require = true, length = 50, order = 3)
	private String csType;

	public String getCsType() {
		return csType;
	}

	public void setCsType(String csType) {
		this.csType = csType;
	}

	@FieldMeta(name = "付款金额", description = "付款金额", column = "cs_amount", require = true, order = 4)
	private Double csAmount;

	public Double getCsAmount() {
		return csAmount;
	}

	public void setCsAmount(Double csAmount) {
		this.csAmount = csAmount;
	}

	@FieldMeta(name = "状态", description = "状态", column = "cs_state", require = true, length = 1, order = 5)
	private String csState;

	public String getCsState() {
		return csState;
	}

	public void setCsState(String csState) {
		this.csState = csState;
	}

	@FieldMeta(name = "发生日期", description = "发生日期", column = "cs_date", require = true, range = true, order = 6)
	private Date csDate;

	public Date getCsDate() {
		return csDate;
	}

	public void setCsDate(Date csDate) {
		this.csDate = csDate;
	}

	@FieldMeta(name = "备注", description = "备注", column = "cs_remark", length = 1000, order = 7)
	private String csRemark;

	public String getCsRemark() {
		return csRemark;
	}

	public void setCsRemark(String csRemark) {
		this.csRemark = csRemark;
	}

}